home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / tbbs / prgsourc.zip / FLAGS.ZIP / SETFLG.TXT < prev    next >
Text File  |  1996-03-02  |  646b  |  34 lines

  1. FORMAT OF SETFLAG:
  2.  
  3. x[string]ab
  4.  
  5. WHERE:
  6.  
  7. x = the starting position in the flagset string
  8. string = the string to check 
  9. a = number of authorization flag string 
  10. b = number of authorization flag to set on if true
  11.  
  12. EXAMPLE:
  13.  
  14. 20[SYSOP]31
  15.  
  16. Will test Whether the string "SYSOP" appears in the flagset string
  17. beginning at position 20. If so, authorization flag string A3 is set 
  18. to "X-------", otherwise it becomes ".-------"
  19.  
  20. FLAGSET STRING:
  21.  
  22. Is 64 characters long.
  23. May be any printable character EXCEPT "[" or "]" 
  24. Is case-sensitive.
  25.  
  26. SAMPLE:
  27.  
  28. Entry:
  29. KEY=S TYPE=200 
  30. Opt Data=C:\FLAGSET\SETFLAG /q     &&1[SYSOP]31
  31.  
  32.  
  33.  
  34.